From 77f614fc13479648fa76e76ca6063911d5fa8bb9 Mon Sep 17 00:00:00 2001 From: Andreas Beckmann Date: Sat, 4 Dec 2021 21:51:30 +0100 Subject: [PATCH] [PATCH 84/90] rename byteswap_uint32_t() to pocl_byteswap_uint32_t() Gbp-Pq: Name 0084-rename-byteswap_uint32_t-to-pocl_byteswap_uint32_t.patch --- lib/CL/pocl_util.c | 2 +- lib/CL/pocl_util.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/CL/pocl_util.c b/lib/CL/pocl_util.c index 95a8411..cf0fafe 100644 --- a/lib/CL/pocl_util.c +++ b/lib/CL/pocl_util.c @@ -167,7 +167,7 @@ pocl_restore_rm (unsigned rm) } uint32_t -byteswap_uint32_t (uint32_t word, char should_swap) +pocl_byteswap_uint32_t (uint32_t word, char should_swap) { union word_union { diff --git a/lib/CL/pocl_util.h b/lib/CL/pocl_util.h index 170e7e2..92163c3 100644 --- a/lib/CL/pocl_util.h +++ b/lib/CL/pocl_util.h @@ -33,7 +33,8 @@ extern "C" { #endif -uint32_t byteswap_uint32_t (uint32_t word, char should_swap); +POCL_EXPORT +uint32_t pocl_byteswap_uint32_t (uint32_t word, char should_swap); float byteswap_float (float word, char should_swap); /* set rounding mode */ -- 2.30.2